package java6681.bank;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Scene;
import javafx.stage.Stage;

import java.util.Objects;

/**
 * @author Junichiro
 * @description
 * @date 2021-06-05 21:18
 **/

public class Bank6681 extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) {
        try {
            primaryStage.setScene(new Scene(FXMLLoader.load(Objects.requireNonNull(getClass().getResource("Bank6681View.fxml")))));
            primaryStage.setTitle("多线程同步");
            primaryStage.show();
        } catch (Exception e) {
            System.out.println("加载节点树结果失败...");
            System.exit(0);
        }
    }
}
